package com.haier.dreambox.demo.bean.uplus;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by smalant on 14/12/30.
 */
@DatabaseTable
public class DeviceAttribute implements Serializable {


    @DatabaseField(generatedId = true)
    public transient int id;

    @DatabaseField
    public String brand; //品牌

    @DatabaseField
    public String model; //型号

    public DeviceAttribute(String brand, String model) {
        this.brand = brand;
        this.model = model;
    }

    public DeviceAttribute() {
    }

    @Override
    public String toString() {
        return "DeviceAttribute{" +
                "brand='" + brand + '\'' +
                ", model='" + model + '\'' +
                '}';
    }
}
